package cn.huiyunche.base.service.form;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;

/**
 * @FileName: com.linkvin.stan.app.form
 * @Description: 提车和交车时附件提交
 * @author: Aaron
 * @date: 16/6/24 下午3:58
 */
public class AttachForm {

    /**
     * @Description: 附件类型
     */
    @Min(value = 1)
    private int type;

    /**
     * @Description: 图片七牛key
     */
    @NotBlank
    private String image;

    public void setType(int type) {
        this.type = type;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getType() {
        return type;
    }

    public String getImage() {
        return image;
    }
}
